package nan.nanfang.concertPerformer;
/*
* 这是钢琴
*/
public class Piano {
    private String name;
    private String type;

    public Piano(){
        super();
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Piano(String name, String type) {
        this.name = name;
        this.type = type;
    }

    public void teacher(){
        System.out.println("我这里是钢琴");
        System.out.println("铛铛铛");
    }
    public void eaid(){
        System.out.println("你好"+this.name);
    }
}
